
#   
#   Simulation : Base class to create simulations
#   Method to typically override will be signaled
#   
from scene import Scene
from boid import Boid
 
class Simulation():
  def __init__(self):
    self.scene = Scene()
    self.start_time = 0.0
    self.end_time = 4.0
    self.scene.timer.add_callback(self,self.step)
    self.init()
    
    self.scene.timer.start_time = self.start_time
    self.scene.timer.end_time = self.end_time
 
    self.scene.timer.run()
    
  def init(self):      
    pass               
    
  def step(self,time):
    pass      